package Domain;

public class topr2 {
    private int id;
    private int ordersid;
    private int productid;
    private double price;
    private int p_numb;
    private String name;
    private String picture;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getOrdersid() {
        return ordersid;
    }

    public void setOrdersid(int ordersid) {
        this.ordersid = ordersid;
    }

    public int getProductid() {
        return productid;
    }

    public void setProductid(int productid) {
        this.productid = productid;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public int getP_numb() {
        return p_numb;
    }

    public void setP_numb(int p_numb) {
        this.p_numb = p_numb;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPicture() {
        return picture;
    }

    public void setPicture(String picture) {
        this.picture = picture;
    }

    @Override
    public String toString() {
        return "topr2{" +
                "id=" + id +
                ", ordersid=" + ordersid +
                ", productid=" + productid +
                ", price=" + price +
                ", p_numb=" + p_numb +
                ", name='" + name + '\'' +
                ", picture='" + picture + '\'' +
                '}';
    }
}
